﻿using PLCS.Domain.Shared.Stations;

namespace PLCS.Application.Contracts.TrayApp.Dtos;

public class TrayDto : EntityDto<Guid>
{
    /// <summary>
    /// 托盘编码
    /// </summary>
    public string TrayNo { get; set; }

    public Guid? StationId { get; set; }
    public string? StaNum { get; set; }

    /// <summary>
    /// 托盘类型
    /// </summary>
    public TrayType TrayType { get; set; }

    /// <summary>
    /// 是否有料
    /// </summary>
    public YesNo HaveStatus { get; set; }

    /// <summary>
    /// 当前物料号
    /// </summary>
    public string? MaterialNo { get; set; }

    /// <summary>
    /// 托盘状态
    /// </summary>
    public TrayStatus TrayStatus { get; set; }

    /// <summary>
    /// 进入工位时间
    /// </summary>
    public DateTime? EnterTime { get; set; }
}